package com.feng.fengDUtil.dao.converter.impl;

import com.feng.fengDUtil.dao.converter.DateConverter;

import java.sql.Timestamp;
import java.util.Date;

public class DateDefaultConverter implements DateConverter {
    public DateDefaultConverter() {
    }

    public Object convertDate(Date date) {
        return new Timestamp(date.getTime());
    }
}
